{% include header.html %}

<div class="container container-left">
    <div class="row">
        <div class="col-md-3 hidden-xs">
            {% include sidebar.html %}
        </div>
        <div class="col-md-9">
		  {% include search-result.html %}
          <div class="article">
            <div class="well">
                <h1><a href="{{ site.baseurl}}{{ page.url }}">{{ page.date | date: "%Y年 %m月 %d日" }} - {{ page.title }}</a></h1>
                <p id="page-tags">
                	{{page.tags}}
                </p>
	            {% if site.comments and page.comments %}
	                {% if site.disqus != '' %}
	                <p class="author"><a href="#disqus_thread" data-disqus-identifier="{{ page.url | slugify }}">评论</a></p>
	                {% elsif site.isso != '' %}
	                <p class="author"><a href="{{ site.baseurl }}{{ page.url }}{{ site.isso_suffix }}#isso-thread">评论</a></p>
	                {% endif %}
	            {% endif %}
            <div class="post-content">
            	{{ content }}
            </div>
            {% if page.comments %}
                {% if site.disqus != '' %}
	            <div id="disqus_thread">
	                <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">评论由Disqus支持.</a></noscript>
	                <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
	            </div>
                {% elsif site.isso != '' %}
                <section id="isso-thread"></section>
                {% endif %}
            {% endif %}
            </div>
          </div>
          <div class="pagination">
              {% if page.previous %}
                <a class="btn btn-default" href="{{ site.baseurl}}{{ page.previous.url }}" class="previous">上一篇</a>
              {% endif %}
              {% if page.next %}
                <a class="btn btn-default" href="{{ site.baseurl}}{{ page.next.url }}" class="next">下一篇</a>
              {% endif %}
          </div>
		  {% include changyan-comments.html %}
        </div>
    </div>
</div>

{% include footer.html %}
